﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace B.S.DataBase.MyProject.Domain.InpatientManagement
{
    

    /// <summary>
    /// 药品信息
    /// </summary>
    public class Drug
    {
        /// <summary>
        /// 药品ID（主键）
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int DrugId { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 药品类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 剂型
        /// </summary>
        public string DosageForm { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime ProductionDate { get; set; }

        /// <summary>
        /// 有效日期
        /// </summary>
        public DateTime ExpiryDate { get; set; }

        /// <summary>
        /// 功效
        /// </summary>
        public string Effect { get; set; }
    }

}
